//
//  AddSizeViewController.h
//  quickBatchManager
//
//  Created by 王定波 on 15/9/22.
//  Copyright © 2015年 jack. All rights reserved.
//

#import "BaseViewController.h"
#import "SupplierModel.h"
#import "ClientModel.h"
#import "PayInModel.h"
#import "PayOutModel.h"
#import "PMCalendar.h"

@interface InOutAccountViewController : BaseViewController<UITextFieldDelegate,PMCalendarControllerDelegate>
@property (weak, nonatomic) IBOutlet UIButton *submitBtn;
@property (weak, nonatomic) IBOutlet UIImageView *bgImage;
@property (weak, nonatomic) IBOutlet UIButton *closeBtn;
@property (nonatomic, weak) id<ChangeDelegate> delegate;

@property (weak, nonatomic) IBOutlet UILabel *titleLable;

@property (weak, nonatomic) IBOutlet UITextField *totalAmountField;
@property (weak, nonatomic) IBOutlet UITextField *dateField;
@property (weak, nonatomic) IBOutlet UITextField *pay1Field;
@property (weak, nonatomic) IBOutlet UITextField *pay2Field;
@property (weak, nonatomic) IBOutlet UITextField *pay3Field;
@property (weak, nonatomic) IBOutlet UITextField *pay4Field;
@property (weak, nonatomic) IBOutlet UITextField *pay5Field;
@property (weak, nonatomic) IBOutlet UITextField *totalField;
@property (weak, nonatomic) IBOutlet UILabel *pay1Label;
@property (weak, nonatomic) IBOutlet UILabel *pay2Label;
@property (weak, nonatomic) IBOutlet UITextView *noteField;
@property (weak, nonatomic) IBOutlet UILabel *pay3Label;
@property (weak, nonatomic) IBOutlet UILabel *pay4Label;
@property (weak, nonatomic) IBOutlet UILabel *pay5Label;


@property AccountType accountType;
@property (strong, nonatomic) SupplierModel *supplier;
@property (strong, nonatomic) ClientModel *client;
@property (strong, nonatomic) PayInModel *payin;
@property (strong, nonatomic) PayOutModel *payout;

@end
